package ${package_name}.entity;
import com.enbatis.mybatisplugs.commons.annotation.PrimaryKey;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.util.*;

/**
* 描述：${table_annotation} ${table_name_small}
* @author ${author}
* @date ${date}
*/

@Data
public class ${table_name} {

<#if columnList?exists>
    <#list columnList as model>
        /**
        *${model.columnComment!}
        */
        <#if (model.smallColumnName = 'id')>
        @PrimaryKey
        @JsonSerialize(using = ToStringSerializer.class)
        </#if>
        private ${model.columnType} ${model.smallColumnName};

    </#list>
</#if>



}